Repository navigation
Conversation
On IPU6 designs carrying an OV7251 IR sensor (ACPI HID INT347E) the INT3472 describes the sensor's single gated rail as a power-enable GPIO, which the driver registers as a regulator with con_id "avdd". The ov7251 driver and its DT bindings name the sensor supplies vdda, vddd and vdddo, so the lookup finds nothing, the rail is never enabled, and probe fails on the first I2C access: int3472-discrete INT3472:02: avdd \_SB.GPI0 pin 131 active-high ov7251 i2c-INT347E:00: supply vdda not found, using dummy regulator ov7251 i2c-INT347E:00: probe with driver ov7251 failed with error -121 Map the power-enable GPIO to con_id "vdda" for INT347E, the same way the existing entries map it to "vdd" for the mt9m114 and to "vana" for the imx471. The sensor's other two supplies keep falling back to the dummy regulator, which is correct here: the firmware gates a single rail. The table already has an INT347E entry mapping the reset GPIO to "enable", added when the ov7251 was brought up on these machines; this is the same class of firmware-vs-binding name mismatch for the remaining pin. Tested on a Microsoft Surface Pro 7+ (Tiger Lake, IPU6): with this change the IR sensor probes, the illuminator strobes, and the camera streams 640x480 at 30 fps through libcamera. The same failure was reproduced independently on a second Pro 7+ running stock firmware and a distro kernel, with no out-of-tree code, in [1]. Developed with the assistance of an AI tool (Claude) and verified on hardware. Link: linux-surface/linux-surface#1702 [1] Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Signed-off-by: D. Manresa <dmanresa@gmail.com> Tested-by: Jakob Berg Jespersen <dev@berg.pm> # Surface Pro 7+, probe/power-on Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
beilusm
marked this pull request as ready for review
November 20, 2026 16:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport upstream commit 59cab094b8b5 to
v7.3-surface-devel. It maps the firmware's OV7251 (INT347E) power-enable GPIO to thevddasupply requested by the sensor driver.On a Surface Pro 7 (Ice Lake, IPU4P
8086:8a19) running Arch's7.3.4-arch1-2-surfacewith Ruslan Bay's IPU4P RFC v2, the unpatched kernel exposes an unusedINT3472:02-avddregulator. The sensor falls back to a dummyvddaregulator and its first I²C write (software reset, register0x0103) fails with-ETIMEDOUT. This is the same supply-name mismatch documented on the Surface Pro 7+ in the original commit.The backport changes only the sensor GPIO map and preserves the original authorship. It builds against the Arch Surface 7.3.4 headers with
W=1. The IPU4P receiver and IR streaming are tracked in the IPU4 discussion.The backport and this report were prepared with Codex assistance.
Surface Pro 7 cold-boot validation: With this mapping applied to the running Arch Surface 7.3.4 INT3472 module, the regulator is registered as
INT3472:02-vddaandi2c-INT347E:00-vddaattaches to it. The first I²C write completes and the sensor reportsOV7251 revision 7 (1F) detected at address 0x60. All three sensors enumerate in libcamera. The older unpatched module failed at the first I²C write on the same machine.With the IPU4P receiver fixes also loaded, OV7251 completed three 30-frame RAW captures at 640×480 through libcamera and delivered valid image data through PipeWire. The backport is the change that restores the sensor's I²C probe and power-on.